package com.wbl.train.member.service;

import com.wbl.train.common.member.dto.TicketDto;
import com.wbl.train.common.member.entity.TicketEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wbl.train.common.page.PageVo;

/**
 * 车票 服务类
 * @author 王博纶
 * @since 2024-03-07
 */
public interface TicketService extends IService<TicketEntity> {

    /**
     * 查询车站的信息
     * @param ticketDto 车票DTO
     * @return 分页信息
     */
    PageVo<TicketEntity> queryTicket(TicketDto ticketDto);


}
